//
//  MYSettingItem.h
//  奇闻
//
//  Created by 似水灵修 on 14-12-1.
//  Copyright (c) 2014年 MingYueGuCheng. All rights reserved.
//

#import <Foundation/Foundation.h>
@class MYSettingItem;
typedef void (^MYSettingItemBlock)(MYSettingItem *item);
@interface MYSettingItem : NSObject
/**
 *  描述imageView
 */
@property (nonatomic, strong)UIImage *image;
/**
 *  描述textLabel
 */
@property (nonatomic, copy) NSString *title;
/**
 *  描述detailLabel
 */
@property (nonatomic, copy) NSString *subTitle;
/**
 *  目标控制器的类名
 */
@property (nonatomic, assign) __unsafe_unretained Class destVCClass;
/**
 * 点击cell的响应事件
 */
@property (nonatomic, copy) MYSettingItemBlock operateBlock;
+ (instancetype)itemWithImage:(UIImage *)image title:(NSString *)title subTitle:(NSString *)subTitle;
+ (instancetype)itemWithTitle:(NSString *)title;
+ (instancetype)itemWithImage:(UIImage *)image title:(NSString *)title;
@end
